package com.example.jdbc.dao;
import java.util.List;

import com.example.jdbc.bean.LearnResource;
import com.example.jdbc.bean.User;

public interface userDao  {

    public List<LearnResource> listAllUser();

    public int insertUser(final LearnResource user);

    public int updateUser(final LearnResource user);

    public int deleteUser(int id);

    public LearnResource selectUser(int id);
    public User selectUser(String title);
    }
